package com.logic.meetingapp;

import androidx.multidex.MultiDexApplication;

import com.logic.meeting.app.util.OpenUDID;
import com.logic.meeting.core.app.Atmos;
import com.logic.meeting.core.net.HttpUrl;
import com.logic.meeting.core.net.intercepetors.DebugInterceptor;

public class MeetingApp extends MultiDexApplication {

    @Override
    public void onCreate() {
        super.onCreate();
        Atmos.init(this)
                .withApiHost(HttpUrl.API_HOST)
                .withJavascriptInterface("android")
                .withWebHost("https://www.baidu.com/")
                .withInterceptor(new DebugInterceptor("xxxxx", R.raw.test))
                .configure();
        OpenUDID.syncContext(this);
//        CrashHandler.getInstance().init(this);
//        TicketEater.Init("/dev/ttyS2");
//        TicketEater.SetCardTimeout(20);
//        UMConfigure.init(this, "6057f516b8c8d45c13a8a2eb", "Umeng", UMConfigure.DEVICE_TYPE_PHONE, "");
//        /**
//         *设置组件化的Log开关
//         *参数: boolean 默认为false，如需查看LOG设置为true
//         */
//        UMConfigure.setLogEnabled(false);

//        MobclickAgent.setPageCollectionMode(MobclickAgent.PageMode.AUTO);

    }
}
